#define _CRT_SECURE_NO_WARNINGS 1
#include "List.h"

void ListTest01()
{
	LTNode* plist = NULL;
	LTInit(&plist);

	/*LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);*/
	LTPushFront(plist, 1);
	LTPushFront(plist, 2);
	LTPushBack(plist, 3);
	LTPrint(plist);

	//LTPopFront(plist);
	//LTPopFront(plist);
	//LTPrint(plist);
	LTNode* find = LTFind(plist, 1);
	//LTInsert(find, 66);
	LTErase(find);
	find = NULL;
	LTPrint(plist);
	LTDestory(plist);
	plist = NULL;
}
int main()
{
	ListTest01();
	return 0;
}